package com.gin.kotlin.vegetables_kot.database

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.gin.kotlin.vegetables_kot.database.converter.MyTypeConverter
import com.gin.kotlin.vegetables_kot.database.dao.VegetableLogDao
import com.gin.kotlin.vegetables_kot.database.entity.VegetableLog

@Database(version = 1, entities = [VegetableLog::class])
@TypeConverters(MyTypeConverter::class)
abstract class VegDatabase : RoomDatabase() {
    abstract fun vegetableLogDao(): VegetableLogDao
}